//
//  UIImage+CXImage.h
//  喜马拉雅FM
//
//  Created by hcios on 2017/8/27.
//  Copyright © 2017年 hcios. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (CXImage)

/**
 圆形图片对象方法
 */
-(instancetype) cx_circleImage;

+(instancetype)cx_circleWithImage:(NSString *)imageName;

//里面与属性无关，用类方法就可以了
+(UIImage *)imageOriginalWith:(NSString *)imageName;

+(UIImage *)resizeableImageWithLocalImageName:(NSString *)localImageName;

// 根据颜色生成一张尺寸为1*1的相同颜色图片
+ (UIImage *)imageWithColor:(UIColor *)color;

@end
